package com.feature.shop.front.product.model.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableName;

/***
 * @Description:商品规格销售信息 entity
 * @author wangzhiyue
 * @date 2025-06-19 16:26:21
 * 
 */
@TableName("shop_goods_spec")
public class ShopGoodsSpecEntity {

    /***
     * id
     */
    private Integer id;

    private Integer goodsId;
    /***
     * 物品规格id
     */
    private Integer productSpecId;

    /***
     * 物品id
     */
    private Integer productId;

    /***
     * 商品条码
     */
    private String sku;

    /***
     * 价格
     */
    private BigDecimal price;

    /***
     * 上架状态 0-下架1-上架
     */
    private Integer saleStatus;

    /***
     * 创建时间
     */
    private Date createTime;

    /***
     * 创建人
     */
    private Integer createUser;

    /***
     * 修改时间
     */
    private Date updateTime;

    /***
     * 修改人
     */
    private Integer updateUser;

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getId() {
        return id;
    }

    public void setProductSpecId(Integer productSpecId) {
        this.productSpecId = productSpecId;
    }

    public Integer getProductSpecId() {
        return productSpecId;
    }

    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    public Integer getProductId() {
        return productId;
    }

    public void setSku(String sku) {
        this.sku = sku;
    }

    public String getSku() {
        return sku;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setSaleStatus(Integer saleStatus) {
        this.saleStatus = saleStatus;
    }

    public Integer getSaleStatus() {
        return saleStatus;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateUser(Integer createUser) {
        this.createUser = createUser;
    }

    public Integer getCreateUser() {
        return createUser;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateUser(Integer updateUser) {
        this.updateUser = updateUser;
    }

    public Integer getUpdateUser() {
        return updateUser;
    }

    public Integer getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

}
